/*
 * Copyright (C) 2016 YuWei. All rights reserved.
 * You can get our information at http://www.zhixindu.com
 * Anyone can't use this file without our permission.
 */
package com.wuyou.single.common.enums;

public interface IEnum<T> extends ValueBean<T> {

    /**
     * 是否匹配
     *
     * @param value
     * @return
     */
    boolean matches(T value);

    /**
     * 是否匹配
     *
     * @param iEnum
     * @return
     */
    boolean matches(IEnum<T> iEnum);
}
